home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Utilities / Icons / Explode Cicn 1.1 ƒ / Source files / Cicn.r < prev    next >
Encoding:
Text File  |  1990-12-05  |  2.0 KB  |  95 lines  |  [TEXT/ttxt]

  1. #ifndef __TYPES.R__
  2. #include "Types.r"
  3. #endif
  4.  
  5. #ifndef __MacAppTypes__
  6. #include "MacAppTypes.r"
  7. #endif
  8.  
  9. #ifndef __ViewTypes__
  10. #include "ViewTypes.r"
  11. #endif
  12.  
  13. #if qDebug
  14. include "Debug.rsrc";
  15. #endif
  16.  
  17. include "MacApp.rsrc";
  18. include "Printing.rsrc";
  19.  
  20. include "Cicn" 'CODE';
  21.  
  22. include "Cicn.rsrc";                        //  ICON 1000
  23.  
  24.  
  25.  
  26. #define  cConvert        3001        // normal menu
  27. #define  cConvertMsg    3101        // buzzwords menu
  28. #define cICNN            4001        // save ICON#
  29. #define cicl4            4002        // save icsl4
  30. #define cicl8            4003        // save icsl8
  31. #define cics            4004        // save ics#
  32. #define cics4            4005        // save ics4
  33. #define cics8            4006        // save ics8
  34.  
  35. include "Defaults.rsrc"    'SIZE' (-1);    // default = 534, 246; 384, 96
  36.  
  37. //=====================================================================
  38. include "Defaults.rsrc"    'cmnu' (mApple);
  39. include "Defaults.rsrc"    'cmnu' (mEdit);
  40.  
  41. resource 'cmnu' (2) {
  42.     2,
  43.     textMenuProc,
  44.     0x7FFFFFFF,
  45.     enabled,
  46.     "File",
  47.      {    "Open", noIcon, "O", noMark, plain, cOpen;
  48.         "Explode Cicns", noIcon, "S", noMark, plain, cConvert;
  49.         "-", noIcon, noKey, noMark, plain, nocommand;
  50.         "Close", noIcon, "W", noMark, plain, cClose;
  51.         "-", noIcon, noKey, noMark, plain, nocommand;
  52.         "Page Setup", noIcon, noKey, noMark, plain, cPageSetup;
  53.         "Print", noIcon, "P", noMark, plain, cPrint;
  54.         "-", noIcon, noKey, noMark, plain, nocommand;
  55.         "Quit", noIcon, "Q", noMark, plain, cQuit;
  56.  
  57.     }
  58. };
  59.  
  60. resource 'cmnu' (4) {
  61.     4,
  62.     textMenuProc,
  63.     0x7FFFFFFF,
  64.     enabled,
  65.     "Resources",
  66.      {    "ICN#", noIcon, noKey, check, plain, cICNN;
  67.         "icl4", noIcon, nokey, check, plain, cicl4;
  68.         "icl8", noIcon, noKey, check, plain, cicl8;
  69.         "ics#", noIcon, nokey, check, plain, cics;
  70.         "ics4", noIcon, noKey, check, plain, cics4;
  71.         "ics8", noIcon, noKey, check, plain, cics8;
  72.  
  73.     }
  74. };
  75. resource 'MBAR' (kMBarDisplayed,
  76. #if qNames
  77. "Calc",
  78. #endif
  79.     purgeable) {
  80.     {mApple; 2; mEdit; 4;}
  81. };
  82.  
  83. //=====================================================================
  84. resource 'cmnu' (128) {
  85.     128,
  86.     textMenuProc,
  87.     allEnabled,
  88.     enabled,
  89.     "Buzzwords",
  90.      {
  91.         "Conversion", noIcon, noKey, noMark, plain, cConvertMsg;
  92.     }
  93. };
  94.  
  95.